package com.drug.wms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;

/**
 * 序列配置对象 bus_sequence_conf
 * 
 * @author ruoyi
 * @date 2021-11-04
 */
public class BusSequenceConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 前缀 */
    @Excel(name = "前缀")
    private String prefix;

    /** 起始值 */
    @Excel(name = "起始值")
    private String startNum;

    /** 末尾值 */
    @Excel(name = "末尾值")
    private String endNum;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String validityCode;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createUser;

    /** 更新用户ID */
    @Excel(name = "更新用户ID")
    private Long updateUser;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setPrefix(String prefix) 
    {
        this.prefix = prefix;
    }

    public String getPrefix() 
    {
        return prefix;
    }
    public void setStartNum(String startNum) 
    {
        this.startNum = startNum;
    }

    public String getStartNum() 
    {
        return startNum;
    }
    public void setEndNum(String endNum) 
    {
        this.endNum = endNum;
    }

    public String getEndNum() 
    {
        return endNum;
    }
    public void setValidityCode(String validityCode)
    {
        this.validityCode = validityCode;
    }

    public String getValidityCode()
    {
        return validityCode;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("code", getCode())
            .append("prefix", getPrefix())
            .append("startNum", getStartNum())
            .append("endNum", getEndNum())
            .append("remark", getRemark())
            .append("validityCode", getValidityCode())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
